package com.credithc.customers.manager.mapper;

import com.credithc.customers.base.po.CustomerAccountPo;
import com.credithc.customers.manager.ro.CustomerAccountInfoRo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhukai
 * @date 2019/1/22 11:07
 */
@Mapper
@Repository
public interface CustomerAccountInfoMapper {

    /**
     * 查询客户账户信息
     * @param ro
     * @return
     */
    List<CustomerAccountPo> getList(@Param("ro") CustomerAccountInfoRo ro);

    List<CustomerAccountPo> getListByPage(@Param("ro") CustomerAccountInfoRo ro, @Param("startPage") Integer startPage,@Param("pageSize") Integer pageSize);
}
